package org.jeecg.modules.param.member.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 会员卡操作日志表
 * @Author: jeecg-boot
 * @Date:   2021-12-18
 * @Version: V1.0
 */
@Data
@TableName("bike_member_card_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_member_card_log对象", description="会员卡操作日志表")
public class BikeMemberCardLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**会员id*/
	@Excel(name = "会员id", width = 15)
    @ApiModelProperty(value = "会员id")
    private java.lang.String userId;
	/**IC卡编码*/
	@Excel(name = "IC卡编码", width = 15)
    @ApiModelProperty(value = "IC卡编码")
    private java.lang.String cardCode;
	/**旧IC卡编码(换卡时记录)*/
	@Excel(name = "旧IC卡编码(换卡时记录)", width = 15)
    @ApiModelProperty(value = "旧IC卡编码(换卡时记录)")
    private java.lang.String oldCode;
	/**会员卡号*/
	@Excel(name = "会员卡号", width = 15)
    @ApiModelProperty(value = "会员卡号")
    private java.lang.String cardNumber;
	/**旧会员卡号(换卡时记录)*/
	@Excel(name = "旧会员卡号(换卡时记录)", width = 15)
    @ApiModelProperty(value = "旧会员卡号(换卡时记录)")
    private java.lang.String oldNumber;
	/**操作类型(1:发卡2挂失卡3解挂失4换卡5退卡)*/
	@Excel(name = "操作类型(1:发卡2挂失卡3解挂失4换卡5退卡)", width = 15,dicCode = "card_operate_type")
    @ApiModelProperty(value = "操作类型(1:发卡2挂失卡3解挂失4换卡5退卡)")
    @Dict(dicCode = "card_operate_type")
    private java.lang.Integer operateType;
    /**卡类型*/
    @Excel(name = "卡类型", width = 15)
    @ApiModelProperty(value = "卡类型")
    private java.lang.String cardType;
	/**押金(发卡缴纳,退卡退还)*/
	@Excel(name = "押金(发卡缴纳,退卡退还)", width = 15)
    @ApiModelProperty(value = "押金(发卡缴纳,退卡退还)")
    private java.math.BigDecimal cardDeposit;
	/**卡费(二次发卡收取、换卡收取、未带卡退卡收取)*/
	@Excel(name = "卡费(二次发卡收取、换卡收取、未带卡退卡收取)", width = 15)
    @ApiModelProperty(value = "卡费(二次发卡收取、换卡收取、未带卡退卡收取)")
    private java.math.BigDecimal cardFee;
	/**账户发生额(发卡充值,退卡退还)*/
	@Excel(name = "账户发生额(发卡充值,退卡退还)", width = 15)
    @ApiModelProperty(value = "账户发生额(发卡充值,退卡退还)")
    private java.math.BigDecimal account;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;
}
